package com.khalil.kkadmin.cms.domain;

import com.khalil.kkadmin.infrastructure.jpa.domain.TreeEntityBase;
import jakarta.persistence.Entity;
import jakarta.persistence.EntityListeners;
import jakarta.persistence.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

@EntityListeners(AuditingEntityListener.class)
@Table(name = "cms_column")
@Entity
@EqualsAndHashCode(callSuper = true)
@Data
public class CmsColumn extends TreeEntityBase<CmsColumn, Long> {
    private String name; //名称
    private String description;

}
